<?php

/**
 * 应用管理
 */
Route::get('application/applications', ['as'=> 'application.applications.index', 'uses' => 'Application\ApplicationController@index']);
Route::post('application/applications', ['as'=> 'application.applications.store', 'uses' => 'Application\ApplicationController@store']);
Route::get('application/applications/create', ['as'=> 'application.applications.create', 'uses' => 'Application\ApplicationController@create']);
Route::put('application/applications/{applications}', ['as'=> 'application.applications.update', 'uses' => 'Application\ApplicationController@update']);
Route::patch('application/applications/{applications}', ['as'=> 'application.applications.update', 'uses' => 'Application\ApplicationController@update']);
Route::delete('application/applications/{applications}', ['as'=> 'application.applications.destroy', 'uses' => 'Application\ApplicationController@destroy']);
Route::get('application/applications/{applications}', ['as'=> 'application.applications.show', 'uses' => 'Application\ApplicationController@show']);
Route::get('application/applications/{applications}/edit', ['as'=> 'application.applications.edit', 'uses' => 'Application\ApplicationController@edit']);

// 应用页面详情
Route::get('application/applications/application_details/{application_id}', ['as'=> 'application.applications.application_details', 'uses' => 'Application\ApplicationController@applicationDetails']);
// 编辑应用模板页面数据
Route::get('application/applications/pages/layouts/layout_details',['as'=>'application.applications.pages.layouts.layout_details','uses'=>'Application\ApplicationController@getAppPageLayoutDetails']);

